<div class="login-wrap">
    <div class="login-head">
        <h3><?php echo $this->translate('login'); ?></h3>
    </div>
    <form action="" method="post">
        <div class="login-form">
            <ul>
                <li>
                    <i class="icon-user"></i>
                    <input id="username" value="" name="username" type="text" class="login-user-input" />
                </li>
                <li>
                    <i class="icon-key"></i>
                    <input value="" name="password" type="password" class="login-pass-input" />
                </li>
            </ul>
        </div>
        
        <?php if($this->isError): ?>
        <div class="form-group has-error">
            <label for="inputError" class="control-label">Lỗi: Tên truy cập hoặc mật khẩu không đúng!</label>
        </div>
        <?php endif; ?>
        
        <div class="login-action">
            <button type="submit" class="backend-login-btn btn btn-block btn-large btn-inverse"><?php echo $this->translate('login'); ?></button>
            <ul class="login-initial clearfix">
                <li class="pull-left"><a href="#"><?php echo $this->translate('forgot password'); ?></a></li>
                <li class="pull-right"><span class="rem-check"><input type="checkbox" checked="" /></span><?php echo $this->translate('remember me'); ?></li>
            </ul>
        </div>
    </form>
    <h5><?php echo $this->translate('no account'); ?>  <a href="#"><?php echo $this->translate('create account'); ?></a></h5>
</div>
<script>
$(document).ready(function(){
    $("#username").focus();
});
</script>